-- GENERATED SPELL FOR [Cliff Stormer] --


function spell0_4008(pUnit, Event) --@Lizard Bolt,n/a--
pUnit:FullCastSpellOnTarget(5401,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4008', 2000, 1)
end

function Sorts_4008(pUnit, Event)
local choix_sorts_4008 = math.random(0, 0)
if choix_sorts_4008 == 0 then
pUnit:RegisterEvent('spell0_4008', 1, 1)
end
end

function mob4008_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4008', math.random(1500, 3000), 1)
end

function mob4008_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4008_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4008_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4008, 1, 'mob4008_Action')
RegisterUnitEvent(4008, 2, 'mob4008_Leave')
RegisterUnitEvent(4008, 3, 'mob4008_Kill')
RegisterUnitEvent(4008, 4, 'mob4008_Die')
